var t = getApp(), a = void 0;

Page({
    data: {
        msg: {}
    },
    onLoad: function(t) {
        (a = this).getVerify();
    },
    update: function() {
        wx.redirectTo({
            url: "/pages/runman/register/register?data=" + JSON.stringify(this.data.msg)
        });
    },
    getVerify: function() {
        wx.showLoading({
            title: "加载中"
        }), t.com.post("wx/service/find", {}, function(t) {
            wx.hideLoading(), 0 === t.errno && (a.setData({
                msg: t.data
            }), 1 == t.data.status && 2 == t.data.verify.status && wx.redirectTo({
                url: "/pages/runman/index"
            }));
        });
    }
});